package test06;

/**
 * Created by tianxiadiyishuai on 2017/10/15.
 */
public class Ladder {
    //属性:上底、下底、高、面积
    double upper,bottom,height,area;
    //行为:返回面积
    double area(){return (upper+bottom)*height/2; }
    //构造函数
    //main函数
    public static void main(String[] args) {

    }
}
